using System;

namespace Calais
{
    public class CalaisTypeDescriptionAttribute : Attribute
    {
        private string _description;

        public CalaisTypeDescriptionAttribute(string description)
        {
            _description = description;
        }

        public string Description()
        {
            return _description;
        }
    }

    public class CalaisTypeAttribute : Attribute
    {
        private string _type;
        private string _mapTo;

        public CalaisTypeAttribute(string type)
        {
            _type = type;
        }

        public CalaisTypeAttribute(string type, string mapTo)
        {
            _type = type;
            _mapTo = mapTo;
        }

        public string RdfType()
        {
            return _type;
        }

        public string MapsTo()
        {
            return _mapTo;
        }
    }
}